package com.hylanda.va.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/** 
 * @author zhangy
 * @E-mail:blackoon88@gmail.com 
 * @qq:846579287
 * @version created at：2018年5月29日 下午6:05:14 
 * note
 */
@Entity
@Table(name="t_income")
@NamedQuery(name="TIncome.findAll", query="SELECT t FROM TIncome t")
public class TIncome implements Serializable{
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private int id;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="actual_contract_etime")
	private Date actualContractEtime;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="actual_contract_stime")
	private Date actualContractStime;

	private String area;

	@Column(name="bad_debts_amount")
	private double badDebtsAmount;

	private String comment;
	
	@Column(name="inner_management_name")
	private String innerManagementName;
	
	@Column(name="contract_agreed_product")
	private String contractAgreedProduct;
	
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="contract_end_time")
	private Date contractEndTime;

	@Column(name="contract_name")
	private String contractName;

	@Column(name="contract_no")
	private String contractNo;

	@Column(name="contract_signed_month")
	private String contractSignedMonth;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="contract_start_time")
	private Date contractStartTime;

	@Column(name="contract_total_amount")
	private double contractTotalAmount;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="create_time")
	private Date createTime;

	@Column(name="cumulative_collection")
	private double cumulativeCollection;

	@Column(name="customer_no")
	private String customerNo;

	@Column(name="customer_popular_name")
	private String customerPopularName;

	@Column(name="customer_reg_name")
	private String customerRegName;

	@Column(name="customer_type")
	private String customerType;

	@Column(name="enterprise_property")
	private String enterpriseProperty;

	@Column(name="extension_comment")
	private String extensionComment;

	@Column(name="is_idv")
	private String isIdv;

	@Column(name="no_pay_detail")
	private double noPayDetail;

	@Column(name="outstand_pay")
	private double outstandPay;

	@Column(name="paid_detail")
	private double paidDetail;

	@Column(name="paid_time")
	private String paidTime;

	@Column(name="person_in_charge")
	private String personInCharge;

	@Column(name="product_name")
	private String productName;

	@Column(name="purchase_total_num")
	private int purchaseTotalNum;

	@Column(name="receivable_amount")
	private double receivableAmount;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="receivable_time")
	private Date receivableTime;

	@Column(name="receivables_comment")
	private String receivablesComment;

	@Column(name="receiving_contract_status")
	private String receivingContractStatus;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="reception_time")
	private Date receptionTime;

	@Column(name="sale_dept")
	private String saleDept;

	@Column(name="sale_person")
	private String salePerson;

	@Column(name="sign_fixed_year")
	private int signFixedYear;

	@Column(name="sign_status")
	private String signStatus;

	@Column(name="sign_type")
	private String signType;

	@Column(name="ultimate_user_name")
	private String ultimateUserName;

	@Column(name="unit_price")
	private double unitPrice;

	
	@Column(name="income_month")
	private String incomeMonth;


	public TIncome() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Date getActualContractEtime() {
		return this.actualContractEtime;
	}

	public void setActualContractEtime(Date actualContractEtime) {
		this.actualContractEtime = actualContractEtime;
	}

	public Date getActualContractStime() {
		return this.actualContractStime;
	}

	public void setActualContractStime(Date actualContractStime) {
		this.actualContractStime = actualContractStime;
	}

	public String getArea() {
		return this.area;
	}

	public String getContractAgreedProduct() {
		return contractAgreedProduct;
	}

	public void setContractAgreedProduct(String contractAgreedProduct) {
		this.contractAgreedProduct = contractAgreedProduct;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public double getBadDebtsAmount() {
		return this.badDebtsAmount;
	}

	public void setBadDebtsAmount(double badDebtsAmount) {
		this.badDebtsAmount = badDebtsAmount;
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public Date getContractEndTime() {
		return this.contractEndTime;
	}

	public void setContractEndTime(Date contractEndTime) {
		this.contractEndTime = contractEndTime;
	}

	public String getContractName() {
		return this.contractName;
	}

	public void setContractName(String contractName) {
		this.contractName = contractName;
	}

	public String getContractNo() {
		return this.contractNo;
	}

	public void setContractNo(String contractNo) {
		this.contractNo = contractNo;
	}

	public String getContractSignedMonth() {
		return this.contractSignedMonth;
	}

	public void setContractSignedMonth(String contractSignedMonth) {
		this.contractSignedMonth = contractSignedMonth;
	}

	public Date getContractStartTime() {
		return this.contractStartTime;
	}

	public void setContractStartTime(Date contractStartTime) {
		this.contractStartTime = contractStartTime;
	}

	public double getContractTotalAmount() {
		return this.contractTotalAmount;
	}

	public void setContractTotalAmount(double contractTotalAmount) {
		this.contractTotalAmount = contractTotalAmount;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public double getCumulativeCollection() {
		return this.cumulativeCollection;
	}

	public void setCumulativeCollection(double cumulativeCollection) {
		this.cumulativeCollection = cumulativeCollection;
	}

	public String getCustomerNo() {
		return this.customerNo;
	}

	public void setCustomerNo(String customerNo) {
		this.customerNo = customerNo;
	}

	public String getCustomerPopularName() {
		return this.customerPopularName;
	}

	public void setCustomerPopularName(String customerPopularName) {
		this.customerPopularName = customerPopularName;
	}

	public String getCustomerRegName() {
		return this.customerRegName;
	}

	public void setCustomerRegName(String customerRegName) {
		this.customerRegName = customerRegName;
	}

	public String getCustomerType() {
		return this.customerType;
	}

	public void setCustomerType(String customerType) {
		this.customerType = customerType;
	}

	public String getEnterpriseProperty() {
		return this.enterpriseProperty;
	}

	public void setEnterpriseProperty(String enterpriseProperty) {
		this.enterpriseProperty = enterpriseProperty;
	}

	public String getExtensionComment() {
		return this.extensionComment;
	}

	public void setExtensionComment(String extensionComment) {
		this.extensionComment = extensionComment;
	}

	public String getIsIdv() {
		return this.isIdv;
	}

	public void setIsIdv(String isIdv) {
		this.isIdv = isIdv;
	}

	public double getNoPayDetail() {
		return this.noPayDetail;
	}

	public void setNoPayDetail(double noPayDetail) {
		this.noPayDetail = noPayDetail;
	}

	public double getOutstandPay() {
		return this.outstandPay;
	}

	public void setOutstandPay(double outstandPay) {
		this.outstandPay = outstandPay;
	}

	public double getPaidDetail() {
		return this.paidDetail;
	}

	public void setPaidDetail(double paidDetail) {
		this.paidDetail = paidDetail;
	}

	public String getPaidTime() {
		return this.paidTime;
	}

	public void setPaidTime(String paidTime) {
		this.paidTime = paidTime;
	}

	public String getPersonInCharge() {
		return this.personInCharge;
	}

	public void setPersonInCharge(String personInCharge) {
		this.personInCharge = personInCharge;
	}

	public String getProductName() {
		return this.productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public int getPurchaseTotalNum() {
		return this.purchaseTotalNum;
	}

	public void setPurchaseTotalNum(int purchaseTotalNum) {
		this.purchaseTotalNum = purchaseTotalNum;
	}

	public double getReceivableAmount() {
		return this.receivableAmount;
	}

	public void setReceivableAmount(double receivableAmount) {
		this.receivableAmount = receivableAmount;
	}

	public Date getReceivableTime() {
		return this.receivableTime;
	}

	public void setReceivableTime(Date receivableTime) {
		this.receivableTime = receivableTime;
	}

	public String getReceivablesComment() {
		return this.receivablesComment;
	}

	public void setReceivablesComment(String receivablesComment) {
		this.receivablesComment = receivablesComment;
	}

	public String getReceivingContractStatus() {
		return this.receivingContractStatus;
	}

	public void setReceivingContractStatus(String receivingContractStatus) {
		this.receivingContractStatus = receivingContractStatus;
	}

	public Date getReceptionTime() {
		return this.receptionTime;
	}

	public void setReceptionTime(Date receptionTime) {
		this.receptionTime = receptionTime;
	}

	public String getSaleDept() {
		return this.saleDept;
	}

	public void setSaleDept(String saleDept) {
		this.saleDept = saleDept;
	}

	public String getSalePerson() {
		return this.salePerson;
	}

	public void setSalePerson(String salePerson) {
		this.salePerson = salePerson;
	}

	public int getSignFixedYear() {
		return this.signFixedYear;
	}

	public void setSignFixedYear(int signFixedYear) {
		this.signFixedYear = signFixedYear;
	}

	public String getSignStatus() {
		return this.signStatus;
	}

	public void setSignStatus(String signStatus) {
		this.signStatus = signStatus;
	}

	public String getSignType() {
		return this.signType;
	}

	public void setSignType(String signType) {
		this.signType = signType;
	}

	public String getUltimateUserName() {
		return this.ultimateUserName;
	}

	public void setUltimateUserName(String ultimateUserName) {
		this.ultimateUserName = ultimateUserName;
	}

	public double getUnitPrice() {
		return this.unitPrice;
	}

	public void setUnitPrice(double unitPrice) {
		this.unitPrice = unitPrice;
	}

	public String getIncomeMonth() {
		return incomeMonth;
	}

	public void setIncomeMonth(String incomeMonth) {
		this.incomeMonth = incomeMonth;
	}

	public String getInnerManagementName() {
		return innerManagementName;
	}

	public void setInnerManagementName(String innerManagementName) {
		this.innerManagementName = innerManagementName;
	}
	
}
